#
# SDL SCANCODE from SDL_scancode.h
# 

SDL_SCANCODE_UNKNOWN = const(0)

# Usage page 0x07
# These values are from usage page 0x07 (USB keyboard page).
SDL_SCANCODE_A = const(4)
SDL_SCANCODE_B = const(5)
SDL_SCANCODE_C = const(6)
SDL_SCANCODE_D = const(7)
SDL_SCANCODE_E = const(8)
SDL_SCANCODE_F = const(9)
SDL_SCANCODE_G = const(10)
SDL_SCANCODE_H = const(11)
SDL_SCANCODE_I = const(12)
SDL_SCANCODE_J = const(13)
SDL_SCANCODE_K = const(14)
SDL_SCANCODE_L = const(15)
SDL_SCANCODE_M = const(16)
SDL_SCANCODE_N = const(17)
SDL_SCANCODE_O = const(18)
SDL_SCANCODE_P = const(19)
SDL_SCANCODE_Q = const(20)
SDL_SCANCODE_R = const(21)
SDL_SCANCODE_S = const(22)
SDL_SCANCODE_T = const(23)
SDL_SCANCODE_U = const(24)
SDL_SCANCODE_V = const(25)
SDL_SCANCODE_W = const(26)
SDL_SCANCODE_X = const(27)
SDL_SCANCODE_Y = const(28)
SDL_SCANCODE_Z = const(29)

SDL_SCANCODE_1 = const(30)
SDL_SCANCODE_2 = const(31)
SDL_SCANCODE_3 = const(32)
SDL_SCANCODE_4 = const(33)
SDL_SCANCODE_5 = const(34)
SDL_SCANCODE_6 = const(35)
SDL_SCANCODE_7 = const(36)
SDL_SCANCODE_8 = const(37)
SDL_SCANCODE_9 = const(38)
SDL_SCANCODE_0 = const(39)

SDL_SCANCODE_RETURN = const(40)
SDL_SCANCODE_ESCAPE = const(41)
SDL_SCANCODE_BACKSPACE = const(42)
SDL_SCANCODE_TAB = const(43)
SDL_SCANCODE_SPACE = const(44)

SDL_SCANCODE_MINUS = const(45)
SDL_SCANCODE_EQUALS = const(46)
SDL_SCANCODE_LEFTBRACKET = const(47)
SDL_SCANCODE_RIGHTBRACKET = const(48)
SDL_SCANCODE_BACKSLASH = const(49) 
SDL_SCANCODE_NONUSHASH = const(50) 
SDL_SCANCODE_SEMICOLON = const(51)
SDL_SCANCODE_APOSTROPHE = const(52)
SDL_SCANCODE_GRAVE = const(53) 
SDL_SCANCODE_COMMA = const(54)
SDL_SCANCODE_PERIOD = const(55)
SDL_SCANCODE_SLASH = const(56)

SDL_SCANCODE_CAPSLOCK = const(57)

SDL_SCANCODE_F1 = const(58)
SDL_SCANCODE_F2 = const(59)
SDL_SCANCODE_F3 = const(60)
SDL_SCANCODE_F4 = const(61)
SDL_SCANCODE_F5 = const(62)
SDL_SCANCODE_F6 = const(63)
SDL_SCANCODE_F7 = const(64)
SDL_SCANCODE_F8 = const(65)
SDL_SCANCODE_F9 = const(66)
SDL_SCANCODE_F10 = const(67)
SDL_SCANCODE_F11 = const(68)
SDL_SCANCODE_F12 = const(69)

SDL_SCANCODE_PRINTSCREEN = const(70)
SDL_SCANCODE_SCROLLLOCK = const(71)
SDL_SCANCODE_PAUSE = const(72)
SDL_SCANCODE_INSERT = const(73) 
SDL_SCANCODE_HOME = const(74)
SDL_SCANCODE_PAGEUP = const(75)
SDL_SCANCODE_DELETE = const(76)
SDL_SCANCODE_END = const(77)
SDL_SCANCODE_PAGEDOWN = const(78)
SDL_SCANCODE_RIGHT = const(79)
SDL_SCANCODE_LEFT = const(80)
SDL_SCANCODE_DOWN = const(81)
SDL_SCANCODE_UP = const(82)

SDL_SCANCODE_NUMLOCKCLEAR = const(83) 
SDL_SCANCODE_KP_DIVIDE = const(84)
SDL_SCANCODE_KP_MULTIPLY = const(85)
SDL_SCANCODE_KP_MINUS = const(86)
SDL_SCANCODE_KP_PLUS = const(87)
SDL_SCANCODE_KP_ENTER = const(88)
SDL_SCANCODE_KP_1 = const(89)
SDL_SCANCODE_KP_2 = const(90)
SDL_SCANCODE_KP_3 = const(91)
SDL_SCANCODE_KP_4 = const(92)
SDL_SCANCODE_KP_5 = const(93)
SDL_SCANCODE_KP_6 = const(94)
SDL_SCANCODE_KP_7 = const(95)
SDL_SCANCODE_KP_8 = const(96)
SDL_SCANCODE_KP_9 = const(97)
SDL_SCANCODE_KP_0 = const(98)
SDL_SCANCODE_KP_PERIOD = const(99)

SDL_SCANCODE_NONUSBACKSLASH = const(100) 
SDL_SCANCODE_APPLICATION = const(101) 
SDL_SCANCODE_KP_EQUALS = const(103)
SDL_SCANCODE_F13 = const(104)
SDL_SCANCODE_F14 = const(105)
SDL_SCANCODE_F15 = const(106)
SDL_SCANCODE_F16 = const(107)
SDL_SCANCODE_F17 = const(108)
SDL_SCANCODE_F18 = const(109)
SDL_SCANCODE_F19 = const(110)
SDL_SCANCODE_F20 = const(111)
SDL_SCANCODE_F21 = const(112)
SDL_SCANCODE_F22 = const(113)
SDL_SCANCODE_F23 = const(114)
SDL_SCANCODE_F24 = const(115)
SDL_SCANCODE_EXECUTE = const(116)
SDL_SCANCODE_HELP = const(117)
SDL_SCANCODE_MENU = const(118)
SDL_SCANCODE_SELECT = const(119)
SDL_SCANCODE_STOP = const(120)
SDL_SCANCODE_AGAIN = const(121) 
SDL_SCANCODE_UNDO = const(122)
SDL_SCANCODE_CUT = const(123)
SDL_SCANCODE_COPY = const(124)
SDL_SCANCODE_PASTE = const(125)
SDL_SCANCODE_FIND = const(126)
SDL_SCANCODE_MUTE = const(127)
SDL_SCANCODE_VOLUMEUP = const(128)
SDL_SCANCODE_VOLUMEDOWN = const(129)
SDL_SCANCODE_LOCKINGCAPSLOCK = const(130)
SDL_SCANCODE_LOCKINGNUMLOCK = const(131) 
SDL_SCANCODE_LOCKINGSCROLLLOCK = const(132)
SDL_SCANCODE_KP_COMMA = const(133)
SDL_SCANCODE_KP_EQUALSAS400 = const(134)

SDL_SCANCODE_INTERNATIONAL1 = const(135) 
SDL_SCANCODE_INTERNATIONAL2 = const(136)
SDL_SCANCODE_INTERNATIONAL3 = const(137) 
SDL_SCANCODE_INTERNATIONAL4 = const(138)
SDL_SCANCODE_INTERNATIONAL5 = const(139)
SDL_SCANCODE_INTERNATIONAL6 = const(140)
SDL_SCANCODE_INTERNATIONAL7 = const(141)
SDL_SCANCODE_INTERNATIONAL8 = const(142)
SDL_SCANCODE_INTERNATIONAL9 = const(143)
SDL_SCANCODE_LANG1 = const(144) 
SDL_SCANCODE_LANG2 = const(145) 
SDL_SCANCODE_LANG3 = const(146) 
SDL_SCANCODE_LANG4 = const(147) 
SDL_SCANCODE_LANG5 = const(148)
SDL_SCANCODE_LANG6 = const(149) 
SDL_SCANCODE_LANG7 = const(150) 
SDL_SCANCODE_LANG8 = const(151) 
SDL_SCANCODE_LANG9 = const(152) 

SDL_SCANCODE_ALTERASE = const(153) 
SDL_SCANCODE_SYSREQ = const(154)
SDL_SCANCODE_CANCEL = const(155)
SDL_SCANCODE_CLEAR = const(156)
SDL_SCANCODE_PRIOR = const(157)
SDL_SCANCODE_RETURN2 = const(158)
SDL_SCANCODE_SEPARATOR = const(159)
SDL_SCANCODE_OUT = const(160)
SDL_SCANCODE_OPER = const(161)
SDL_SCANCODE_CLEARAGAIN = const(162)
SDL_SCANCODE_CRSEL = const(163)
SDL_SCANCODE_EXSEL = const(164)

SDL_SCANCODE_KP_00 = const(176)
SDL_SCANCODE_KP_000 = const(177)
SDL_SCANCODE_THOUSANDSSEPARATOR = const(178)
SDL_SCANCODE_DECIMALSEPARATOR = const(179)
SDL_SCANCODE_CURRENCYUNIT = const(180)
SDL_SCANCODE_CURRENCYSUBUNIT = const(181)
SDL_SCANCODE_KP_LEFTPAREN = const(182)
SDL_SCANCODE_KP_RIGHTPAREN = const(183)
SDL_SCANCODE_KP_LEFTBRACE = const(184)
SDL_SCANCODE_KP_RIGHTBRACE = const(185)
SDL_SCANCODE_KP_TAB = const(186)
SDL_SCANCODE_KP_BACKSPACE = const(187)
SDL_SCANCODE_KP_A = const(188)
SDL_SCANCODE_KP_B = const(189)
SDL_SCANCODE_KP_C = const(190)
SDL_SCANCODE_KP_D = const(191)
SDL_SCANCODE_KP_E = const(192)
SDL_SCANCODE_KP_F = const(193)
SDL_SCANCODE_KP_XOR = const(194)
SDL_SCANCODE_KP_POWER = const(195)
SDL_SCANCODE_KP_PERCENT = const(196)
SDL_SCANCODE_KP_LESS = const(197)
SDL_SCANCODE_KP_GREATER = const(198)
SDL_SCANCODE_KP_AMPERSAND = const(199)
SDL_SCANCODE_KP_DBLAMPERSAND = const(200)
SDL_SCANCODE_KP_VERTICALBAR = const(201)
SDL_SCANCODE_KP_DBLVERTICALBAR = const(202)
SDL_SCANCODE_KP_COLON = const(203)
SDL_SCANCODE_KP_HASH = const(204)
SDL_SCANCODE_KP_SPACE = const(205)
SDL_SCANCODE_KP_AT = const(206)
SDL_SCANCODE_KP_EXCLAM = const(207)
SDL_SCANCODE_KP_MEMSTORE = const(208)
SDL_SCANCODE_KP_MEMRECALL = const(209)
SDL_SCANCODE_KP_MEMCLEAR = const(210)
SDL_SCANCODE_KP_MEMADD = const(211)
SDL_SCANCODE_KP_MEMSUBTRACT = const(212)
SDL_SCANCODE_KP_MEMMULTIPLY = const(213)
SDL_SCANCODE_KP_MEMDIVIDE = const(214)
SDL_SCANCODE_KP_PLUSMINUS = const(215)
SDL_SCANCODE_KP_CLEAR = const(216)
SDL_SCANCODE_KP_CLEARENTRY = const(217)
SDL_SCANCODE_KP_BINARY = const(218)
SDL_SCANCODE_KP_OCTAL = const(219)
SDL_SCANCODE_KP_DECIMAL = const(220)
SDL_SCANCODE_KP_HEXADECIMAL = const(221)

SDL_SCANCODE_LCTRL = const(224)
SDL_SCANCODE_LSHIFT = const(225)
SDL_SCANCODE_LALT = const(226)
SDL_SCANCODE_LGUI = const(227)
SDL_SCANCODE_RCTRL = const(228)
SDL_SCANCODE_RSHIFT = const(229)
SDL_SCANCODE_RALT = const(230)
SDL_SCANCODE_RGUI = const(231)

SDL_SCANCODE_MODE = const(257)

# Usage page 0x07

# Usage page 0x0C
# These values are mapped from usage page 0x0C (USB consumer page).

SDL_SCANCODE_AUDIONEXT = const(258)
SDL_SCANCODE_AUDIOPREV = const(259)
SDL_SCANCODE_AUDIOSTOP = const(260)
SDL_SCANCODE_AUDIOPLAY = const(261)
SDL_SCANCODE_AUDIOMUTE = const(262)
SDL_SCANCODE_MEDIASELECT = const(263)
SDL_SCANCODE_WWW = const(264)
SDL_SCANCODE_MAIL = const(265)
SDL_SCANCODE_CALCULATOR = const(266)
SDL_SCANCODE_COMPUTER = const(267)
SDL_SCANCODE_AC_SEARCH = const(268)
SDL_SCANCODE_AC_HOME = const(269)
SDL_SCANCODE_AC_BACK = const(270)
SDL_SCANCODE_AC_FORWARD = const(271)
SDL_SCANCODE_AC_STOP = const(272)
SDL_SCANCODE_AC_REFRESH = const(273)
SDL_SCANCODE_AC_BOOKMARKS = const(274)

# Usage page 0x0C

# Walther keys
# These are values that Christian Walther added (for mac keyboard?).

SDL_SCANCODE_BRIGHTNESSDOWN = const(275)
SDL_SCANCODE_BRIGHTNESSUP = const(276)
SDL_SCANCODE_DISPLAYSWITCH = const(277) 
SDL_SCANCODE_KBDILLUMTOGGLE = const(278)
SDL_SCANCODE_KBDILLUMDOWN = const(279)
SDL_SCANCODE_KBDILLUMUP = const(280)
SDL_SCANCODE_EJECT = const(281)
SDL_SCANCODE_SLEEP = const(282)

SDL_SCANCODE_APP1 = const(283)
SDL_SCANCODE_APP2 = const(284)

# Usage page 0x0C (additional media keys)
#  These values are mapped from usage page 0x0C (USB consumer page).

SDL_SCANCODE_AUDIOREWIND = const(285)
SDL_SCANCODE_AUDIOFASTFORWARD = const(286)

SDL_NUM_SCANCODES = const(512) # not a key just marks the number of scancodes for array bounds
